package com.zxx.pattern.statePattern.state3;

import androidx.annotation.NonNull;

/**
 * @author zxx on 2021/1/18
 */
public class StartState implements State3 {

    @Override
    public void doAction(ContextState contextState) {
        System.out.println("Player is in start state");
        contextState.setState3(this);
    }

    @NonNull
    @Override
    public String toString() {
        return "State2 Start";
    }

}
